home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / complib / dorgbr.z / dorgbr
Encoding:
Text File  |  1998-10-30  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDOOOORRRRGGGGBBBBRRRR((((3333FFFF))))                                                          DDDDOOOORRRRGGGGBBBBRRRR((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DORGBR - generate one of the real orthogonal matrices Q or P**T
  10.      determined by DGEBRD when reducing a real matrix A to bidiagonal form
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DORGBR( VECT, M, N, K, A, LDA, TAU, WORK, LWORK, INFO )
  14.  
  15.          CHARACTER      VECT
  16.  
  17.          INTEGER        INFO, K, LDA, LWORK, M, N
  18.  
  19.          DOUBLE         PRECISION A( LDA, * ), TAU( * ), WORK( LWORK )
  20.  
  21. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  22.      DORGBR generates one of the real orthogonal matrices Q or P**T determined
  23.      by DGEBRD when reducing a real matrix A to bidiagonal form: A = Q * B *
  24.      P**T.  Q and P**T are defined as products of elementary reflectors H(i)
  25.      or G(i) respectively.
  26.  
  27.      If VECT = 'Q', A is assumed to have been an M-by-K matrix, and Q is of
  28.      order M:
  29.      if m >= k, Q = H(1) H(2) . . . H(k) and DORGBR returns the first n
  30.      columns of Q, where m >= n >= k;
  31.      if m < k, Q = H(1) H(2) . . . H(m-1) and DORGBR returns Q as an M-by-M
  32.      matrix.
  33.  
  34.      If VECT = 'P', A is assumed to have been a K-by-N matrix, and P**T is of
  35.      order N:
  36.      if k < n, P**T = G(k) . . . G(2) G(1) and DORGBR returns the first m rows
  37.      of P**T, where n >= m >= k;
  38.      if k >= n, P**T = G(n-1) . . . G(2) G(1) and DORGBR returns P**T as an
  39.      N-by-N matrix.
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      VECT    (input) CHARACTER*1
  44.              Specifies whether the matrix Q or the matrix P**T is required, as
  45.              defined in the transformation applied by DGEBRD:
  46.              = 'Q':  generate Q;
  47.              = 'P':  generate P**T.
  48.  
  49.      M       (input) INTEGER
  50.              The number of rows of the matrix Q or P**T to be returned.  M >=
  51.              0.
  52.  
  53.      N       (input) INTEGER
  54.              The number of columns of the matrix Q or P**T to be returned.  N
  55.              >= 0.  If VECT = 'Q', M >= N >= min(M,K); if VECT = 'P', N >= M
  56.              >= min(N,K).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDOOOORRRRGGGGBBBBRRRR((((3333FFFF))))                                                          DDDDOOOORRRRGGGGBBBBRRRR((((3333FFFF))))
  71.  
  72.  
  73.  
  74.      K       (input) INTEGER
  75.              If VECT = 'Q', the number of columns in the original M-by-K
  76.              matrix reduced by DGEBRD.  If VECT = 'P', the number of rows in
  77.              the original K-by-N matrix reduced by DGEBRD.  K >= 0.
  78.  
  79.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  80.              On entry, the vectors which define the elementary reflectors, as
  81.              returned by DGEBRD.  On exit, the M-by-N matrix Q or P**T.
  82.  
  83.      LDA     (input) INTEGER
  84.              The leading dimension of the array A. LDA >= max(1,M).
  85.  
  86.      TAU     (input) DOUBLE PRECISION array, dimension
  87.              (min(M,K)) if VECT = 'Q' (min(N,K)) if VECT = 'P' TAU(i) must
  88.              contain the scalar factor of the elementary reflector H(i) or
  89.              G(i), which determines Q or P**T, as returned by DGEBRD in its
  90.              array argument TAUQ or TAUP.
  91.  
  92.      WORK    (workspace/output) DOUBLE PRECISION array, dimension (LWORK)
  93.              On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
  94.  
  95.      LWORK   (input) INTEGER
  96.              The dimension of the array WORK. LWORK >= max(1,min(M,N)).  For
  97.              optimum performance LWORK >= min(M,N)*NB, where NB is the optimal
  98.              blocksize.
  99.  
  100.      INFO    (output) INTEGER
  101.              = 0:  successful exit
  102.              < 0:  if INFO = -i, the i-th argument had an illegal value
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.